package org.agony2d.gpu.supportClasses.textures {
	import flash.geom.Rectangle;
	import org.agony2d.core.agony_internal;
	
	use namespace agony_internal;
	
public class RegionTexture extends TextureProxy {
	
	public function RegionTexture( fullTex:FullTexture, region:Rectangle, frame:Rectangle ) {
		m_x              =  region.x
		m_y              =  region.y
		m_fullWidth      =  fullTex.m_fullWidth
		m_fullHeight     =  fullTex.m_fullHeight
		m_realityWidth   =  region.width
		m_realityHeight  =  region.height
		m_frame          =  frame
	}
}
}